package com.kingt.social;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class MainActivity extends Activity implements OnClickListener{

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_act);
		initWidget();
	}

	
	public void onClick(View v) {
		switch(v.getId()){
		case R.id.login_btn:
			startActivity(new Intent(this, LoginActivity.class));
			break;
		}
		
	}
	
	private void initWidget(){
		findViewById(R.id.login_btn).setOnClickListener(this);
	}

}
